package com.ebelter.nb.model.jg.jgbean;


import com.ebelter.nb.beans.uploadbeans.WillLoadDataBean;

public class JGScaleR extends JGBaseResponse {


    /**
     * deviceInfo : {"fat":"20","hart":"90","imei":"867726030108320","resistor":"50","time":"2019-04-12 09:44:27","weight":"600"}
     */

    public DeviceInfoBean deviceInfo;



    public static class DeviceInfoBean extends WillLoadDataBean{
        /**
         * fat : 20
         * hart : 90
         * imei : 867726030108320
         * resistor : 50
         * time : 2019-04-12 09:44:27
         * weight : 600
         */

        public String fat;//脂肪率
        public String hart;
        public String imei;//设备编号
        public String resistor;
        public String time;
        public String weight;//扩大了10倍的数据

        public int rssi;//rssi  信号强度，0 - 31 ， 31 信号最强，99没信号
        public int unit;//unit  单位 0=Kg、1=LB、2=ST
        public int usermode;//用户模式 00 = 未识别到用户01=用户模式下测量数据(单用户)、02=用户模式下测量数据(多用户)、03=工厂模式测试数据

        public float fat2;//脂肪率
        public int hart2;
        public int resistor2;
        public float weight2;

        public float bmi;
        public float water;//水分
        public float bmr;
        public float visceralFat;//内脂
        public float muscleV;//肌肉量
        public float skeletalMuscleV;//骨骼肌
        public float boneV;//骨量
        public int bodyAge;//身体年龄
        public float protein;//蛋白质
        public int score;//分数


        @Override
        public String toString() {
            return "DeviceInfoBean{" +
                    "mesureDataTyle=" + mesureDataTyle +
                    ", uuid='" + uuid + '\'' +
                    ", repeatUploadMaxCount=" + repeatUploadMaxCount +
                    ", currentUploadCount=" + currentUploadCount +
                    ", authKey='" + authKey + '\'' +
                    ", deviceId='" + deviceId + '\'' +
                    ", productTime='" + productTime + '\'' +
                    ", userType='" + userType + '\'' +
                    ", fat='" + fat + '\'' +
                    ", hart='" + hart + '\'' +
                    ", imei='" + imei + '\'' +
                    ", resistor='" + resistor + '\'' +
                    ", time='" + time + '\'' +
                    ", weight='" + weight + '\'' +
                    ", rssi=" + rssi +
                    ", unit=" + unit +
                    ", usermode=" + usermode +
                    ", fat2=" + fat2 +
                    ", hart2=" + hart2 +
                    ", resistor2=" + resistor2 +
                    ", weight2=" + weight2 +
                    ", bmi=" + bmi +
                    ", water=" + water +
                    ", bmr=" + bmr +
                    ", visceralFat=" + visceralFat +
                    ", muscleV=" + muscleV +
                    ", skeletalMuscleV=" + skeletalMuscleV +
                    ", boneV=" + boneV +
                    ", bodyAge=" + bodyAge +
                    ", protein=" + protein +
                    ", score=" + score +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "JGScaleR{" +
                "deviceType=" + deviceType +
                ", deviceInfo=" + deviceInfo +
                '}';
    }
}
